import React from "react";
import {Button, Drawer, Space} from "antd";
import {ContainerCreateDrawerProp} from "@/pages/docker/modules";

const ContainerCreate: React.FC<ContainerCreateDrawerProp> = ({visible, close}) => {


    const submitForm = () => {}

    return <Drawer
        width={500}
        title="创建容器"
        placement="right"
        onClose={() => close(false)}
        open={visible}
        extra={
            <Space>
                <Button type="primary" danger onClick={()=> close(false)}>取消</Button>
                <Button type="primary" onClick={() => submitForm()}>保存</Button>
            </Space>
        }
    >

    </Drawer>

}

export default ContainerCreate;